package com.fesine.ssh.dao;

import com.fesine.ssh.model.Category;

import java.util.List;

/**
 * Created by Fesine on 2016/2/21.
 */
public interface CategoryDao extends BaseDao<Category,String> {

    List<Category> findByParent(int pid);
    List<Category> findTopAll();
}
